        <div class="dashboardWrapper">
            <header>
            	<table>
                	<tbody>
                    	<tr>
                        	<td class="logo">SUMMON</td>
                        	<td class="menu">
                            	<ul>
                                	<li>
                                    	<ul>
                                        	<li><a href="<?=base_url()?>dashboard/messages"><i class="icon-envelope"></i> Messages<span class="newMsgCount"></span></a></li>
                                        	<li><a href="<?=base_url()?>dashboard/restaurants"><i class="icon-glass"></i> Restaurants</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </td>
                        	<td class="user">
                                <div class="menuToggleBtn">
                                	<button class="btn" id="toggleMenu">
                                		<i class="icon-align-justify"></i>
                                    </button>
                                </div>
                                <div class="navbar navbar-static">
                                    <ul class="nav" role="navigation">
                                        <li class="dropdown">
                                            <ul class="nav pull-right">
                                                <li id="fat-menu" class="btn-group dropdown">
                                                    <button class="btn dropdown-toggle leftBtn" data-toggle="dropdown" role="button">
                                                        <span class="nameShow">
                                                        <?php
                                                            if($fullname!='')
                                                            {
                                                                echo '<i class="icon-user"></i> '.$fullname;
                                                            }
                                                            else
                                                            {
                                                                echo 'Guest!';	
                                                            }
                                                        ?>
                                                        </span>
                                                        <span class="nameHide">
                                                            <i class="icon-user"></i>
                                                        </span>

                                                    </button>
                                                    <button class="btn dropdown-toggle" data-toggle="dropdown">
                                                        <i class="icon-cog"></i>
                                                    </button>
                                                    <ul class="dropdown-menu" aria-labelledby="drop3" role="menu">
                                                        <li role="presentation">
                                                        	<span class="hiddenName"><?=$fullname?></span>
                                                            <p><?=$userType?></p>
                                                        </li>
                                                        <li role="presentation">
                                                            <a href="<?=base_url()?>dashboard/account_settings/<?=$myID?>" tabindex="-1" role="menuitem"><i class="icon-edit"></i> Account Settings</a>
                                                        </li>
                                                        <li class="divider" role="presentation"></li>
                                                        <li role="presentation">
                                                            <a href="<?=base_url()?>dashboard/logout" tabindex="-1" role="menuitem"><i class="icon-off"></i> Log Out</a>
                                                        </li>
                                                    </ul>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </header>
            <section>
                <div class="container-fluid">
                    <div class="row-fluid">
                        <div class="span2 leftWrapper" id="menuToToggle">
                        	<h2><i class="icon-tasks"></i> Menu</h2>
                        	<div class="hiddenMenu">
                            	<ul>
                                	<li>
                                    	<ul>
                                        	<li><a href="<?=base_url()?>dashboard/messages"><i class="icon-envelope"></i> Messages<span class="newMsgCount"></span></a></li>
                                        	<li><a href="<?=base_url()?>dashboard/restaurants"><i class="icon-glass"></i> Restaurants</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                            <div class="defaultMenu">
                            	<ul>
                                	<li>
                                    	<ul>
                                            <li><a href="<?=base_url()?>dashboard/reserved_lists"><i class="icon-folder-close"></i> Reserved Lists</a></li>
                                            <li><a href="<?=base_url()?>dashboard/list_users"><i class="icon-th-list"></i> Lists of Users</a></li>
                                        	<li><a href="<?=base_url()?>dashboard/accounts_analysis"><i class="icon-th"></i> Account &amp; Analysis System</a></li>
                                        	<li><a href="<?=base_url()?>dashboard/account_summary"><i class="icon-list-alt"></i> Summary of New Accounts</a></li>
                                            <li><a href="<?=base_url()?>dashboard/about_us"><i class="icon-info-sign"></i> About the company</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="span10 rightWrapper">
                        	<h2><i class="icon-info-sign"></i> Account Information</h2>
                        	<!--Body content-->
                            <ul class="nav nav-tabs">
                                <?php
									if($intUserID==$this->session->userdata('intUserID') || $this->session->userdata('intAccountType')=='1')
									{
										if($intUserID==$this->session->userdata('intUserID'))
										{
											$myProIndicator = 'My Profile';
											$myUpIndicator = 'Update My Profile';
										}
										else
										{
											if($pageNotFound!='0')
											{
												$myProIndicator = 'Profile of '.$strUserFullName;
												$myUpIndicator = 'Update Profile of '.$strUserFullName;
											}
											else
											{
												$myProIndicator = 'My Profile';
												$myUpIndicator = 'Update My Profile';
											}
										}
								?>
                                <li class="active">
                                	<a href="<?=base_url()?>dashboard/account_settings/<?=$userID?>"><i class="icon-user"></i> <?=$myProIndicator?></a>
                                </li>
                                <li>
                                	<a href="<?=base_url()?>dashboard/update_profile/<?=$userID?>"><i class="icon-edit"></i> <?=$myUpIndicator?></a>
                                </li>
                                <?php
									}
									else
									{
										if($intUserID==$this->session->userdata('intUserID'))
										{
											$myProIndicator = 'My Profile';
											$myUpIndicator = 'Update My Profile';
										}
										else
										{
											if($pageNotFound!='0')
											{
												$myProIndicator = 'Profile of '.$strUserFullName;
												$myUpIndicator = 'Update Profile of '.$strUserFullName;
											}
											else
											{
												$myProIndicator = 'My Profile';
												$myUpIndicator = 'Update My Profile';
											}
										}
								?>
                                <li class="active">
                                	<a href="<?=base_url()?>dashboard/account_settings/<?=$userID?>"><i class="icon-user"></i> <?=$myProIndicator?></a>
                                </li>
                                <?php
									}
								?>
                            </ul>
                            <div class="contentHolder">
                            	<?php
									if($pageNotFound!='0')
									{
								?>
                                <dl class="dl-horizontal dl-header">
                                    <dt><h5><i class="icon-info-sign"></i> Basic Information</h5></dt>
                                </dl>
                                <dl class="dl-horizontal">
                                    <dt>Fullname</dt>
                                    <dd><?=$strUserFullName?></dd>
                                    <dt>Role</dt>
                                    <dd><?=$userRole?></dd>
                                    <dt>Gender</dt>
                                    <dd>
                                    	<?php
											if($strUserGender == 'm')
											{
												echo 'Male';
											}
											else if($strUserGender == 'f')
											{
												echo 'Female';
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>Civil Status</dt>
                                    <dd>
                                    	<?php
											if($strUserCivilStatus!='')
											{
												echo ucwords($strUserCivilStatus);
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>Birthday</dt>
                                    <dd>
                                    	<?php
											if($birthUserMonth!='')
											{
												echo $birthUserMonth.' ';
											}
											if($birthUserDay!='')
											{
												echo $birthUserDay.', ';
											}
											if($birthUserYear!='')
											{
												echo $birthUserYear;
											}
											else
											{
												echo 'Not yet updated!';	
											}
										?>
                                    </dd>
                                </dl>
                                <dl class="dl-horizontal dl-header">
                                    <dt><h5><i class="icon-map-marker"></i> Location</h5></dt>
                                </dl>
                                <dl class="dl-horizontal">
                                    <dt>Address</dt>
                                    <dd>
                                    	<?php
                                        	if($strUserAddress!='')
											{
												echo $strUserAddress;
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>City</dt>
                                    <dd>
                                    	<?php
                                        	if($strUserCity!='')
											{
												echo $strUserCity;
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>Hometown</dt>
                                    <dd>
                                    	<?php
                                        	if($strUserHometown!='')
											{
												echo $strUserHometown;
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>Province</dt>
                                    <dd>
                                    	<?php
                                        	if($strUserProvince!='')
											{
												echo $strUserProvince;
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>Country</dt>
                                    <dd>
										<?php
											if($strUserCountry!='')
											{
                                        		echo get_country($strUserCountry);
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                </dl>
                                <dl class="dl-horizontal dl-header">
                                    <dt><h5><i class="icon-tint"></i> Contact Information</h5></dt>
                                </dl>
                                <dl class="dl-horizontal">
                                    <dt>Mobile Phone</dt>
                                    <dd>
                                    	<?php
                                        	if($strUserMobile!='')
											{
												echo $strUserMobile;
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>Landline No.</dt>
                                    <dd>
                                    	<?php
                                        	if($strUserLandline!='')
											{
												echo $strUserLandline;
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                    <dt>E-mail Address</dt>
                                    <dd>
                                    	<?php
                                        	if($strUserEmail!='')
											{
												echo $strUserEmail;
											}
											else
											{
												echo 'Not yet updated!';
											}
										?>
                                    </dd>
                                </dl>
                            	<?php
									}
									else
									{
								?>
                                <dl class="dl-horizontal dl-header">
                                    <dt><h5><i class="icon-exclamation-sign"></i> Page not found.</h5></dt>
                                </dl>
                                <?php
									}
								?>
                                
                            </div>
                        </div>
                    </div>
                </div>
            </section>
            <footer>

            </footer>
        </div>
